package com.warmlight.voicepacket.data;

/**
 * Created by jason on 2018/6/11.
 */

public class VersionCheck {

    /**
     * code : 200
     * msg :
     * data : {"version":null,"is_upgrade":false,"is_force":false,"prompt_num":0,"desc":"","download_url":""}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * version : null
         * is_upgrade : false
         * is_force : false
         * prompt_num : 0
         * desc :
         * download_url :
         */

        private Object version;
        private boolean is_upgrade;
        private boolean is_force;
        private int prompt_num;
        private String desc;
        private String download_url;
        /**
         * confirm_txt : 确认按钮文本
         * cancel_txt : 取消按钮文本
         */

        private String confirm_txt;
        private String cancel_txt;


        public Object getVersion() {
            return version;
        }

        public void setVersion(Object version) {
            this.version = version;
        }

        public boolean isIs_upgrade() {
            return is_upgrade;
        }

        public void setIs_upgrade(boolean is_upgrade) {
            this.is_upgrade = is_upgrade;
        }

        public boolean isIs_force() {
            return is_force;
        }

        public void setIs_force(boolean is_force) {
            this.is_force = is_force;
        }

        public int getPrompt_num() {
            return prompt_num;
        }

        public void setPrompt_num(int prompt_num) {
            this.prompt_num = prompt_num;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDownload_url() {
            return download_url;
        }

        public void setDownload_url(String download_url) {
            this.download_url = download_url;
        }

        public String getConfirm_txt() {
            return confirm_txt;
        }

        public void setConfirm_txt(String confirm_txt) {
            this.confirm_txt = confirm_txt;
        }

        public String getCancel_txt() {
            return cancel_txt;
        }

        public void setCancel_txt(String cancel_txt) {
            this.cancel_txt = cancel_txt;
        }
    }
}
